home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Mac Game Programming Gurus
/
TricksOfTheMacGameProgrammingGurus.iso
/
More Source
/
C⁄C++
/
Kant Generator Pro 1.2
/
src
/
kode ƒ
/
kant.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-02-02
|
586b
|
33 lines
#include "kant.h"
#include "graphics.h"
#include "window layer.h"
Boolean gAlwaysResolve;
short gSpeedDelay;
FSSpec gModuleFS;
Boolean gUseDefault;
Boolean gDynamicScroll;
Boolean gShowAllRefs;
Boolean gIconifyMenus;
Boolean gShowToolbar;
Boolean gShowMessageBox;
void InitTheProgram(void)
{
}
Boolean ShutDownTheProgram(void)
{
WindowPtr theWindow;
while ((theWindow=GetFrontDocumentWindow())!=0L)
if (!CloseTheWindow(theWindow))
return FALSE;
while ((theWindow=FrontWindow())!=0L)
if (!CloseTheWindow(theWindow))
return FALSE;
return TRUE;
}